micropython/extmod
Jim Mussared 924e55aca1 extmod/webrepl: Allow the page to run from the device (over HTTP).
The device will respond to a non-WS request with a simple page that loads
websocket_content.js from a static host (http or https). However, even
if the resources are https, the page is still http and therefore allows
requesting to a WS (not WSS) websocket on the device.

Removed unused client_handshake from websocket_helper, and then merges the
remainder of this file (server_handshake) into webrepl.py (to reduce
firmware size). Also added the respond-as-HTTP handling to
server_handshake.

The default HTTP response is a simple page that sets the base URL and then
loads webrepl_content.js which document.write's the actual HTML.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-07-23 12:43:08 +10:00
..
axtls-include
btstack extmod/btstack: Fix descriptor discovery handle range and events. 2022-07-20 17:01:37 +10:00
lwip-include
nimble extmod/nimble: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:14 +10:00
uasyncio extmod/uasyncio: Implement stream read(-1) to read all data up to EOF. 2022-06-24 17:04:57 +10:00
webrepl extmod/webrepl: Allow the page to run from the device (over HTTP). 2022-07-23 12:43:08 +10:00
extmod.cmake extmod: Always use custom mbedtls error message code. 2022-07-18 22:55:22 +10:00
extmod.mk extmod: Always use custom mbedtls error message code. 2022-07-18 22:55:22 +10:00
font_petme128_8x8.h
machine_bitstream.c
machine_bitstream.h
machine_i2c.c extmod/machine_i2c: Only use WRITE1 option if transfer supports it. 2022-06-17 11:57:57 +10:00
machine_i2c.h extmod/machine_i2c: Only use WRITE1 option if transfer supports it. 2022-06-17 11:57:57 +10:00
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_pwm.c
machine_pwm.h
machine_signal.c
machine_signal.h
machine_spi.c
machine_spi.h
misc.h
modbluetooth.c extmod/modbluetooth: Add support for running sync irq on system thread. 2022-07-22 17:38:15 +10:00
modbluetooth.h
modbtree.c extmod/modbtree: Use buffer protocol for keys/values. 2022-06-21 00:44:49 +10:00
modframebuf.c
modlwip.c extmod/modlwip: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
modnetwork.c extmod/modnetwork: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:25 +10:00
modnetwork.h extmod/modusocket: Add socket state to track new/listening/conn/closed. 2022-06-08 14:13:59 +10:00
modonewire.c
moduasyncio.c
modubinascii.c
moducryptolib.c
moductypes.c
moduhashlib.c
moduheapq.c
modujson.c py/parsenum: Optimise when building with complex disabled. 2022-06-23 11:46:47 +10:00
moduos.c
moduplatform.c
moduplatform.h
modurandom.c
modure.c
moduselect.c
modusocket.c extmod/modusocket: Fix polling of closed sockets. 2022-06-08 14:15:01 +10:00
modussl_axtls.c
modussl_mbedtls.c extmod/modussl_mbedtls: Implement cert_reqs and cadata arguments. 2022-07-20 16:46:04 +10:00
modutimeq.c
moduwebsocket.c
moduwebsocket.h
moduzlib.c
modwebrepl.c
mpbthci.c
mpbthci.h
network_cyw43.c extmod/network_cyw43: Add "security" config option to get/set auth mode. 2022-07-05 11:05:13 +10:00
network_cyw43.h
network_ninaw10.c extmod/network_ninaw10: Move ninaw10 root pointer registrations here. 2022-07-21 16:21:50 +10:00
network_wiznet5k.c
uos_dupterm.c extmod/uos_dupterm: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
utime_mphal.c
utime_mphal.h
vfs.c extmod/vfs: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
vfs.h
vfs_blockdev.c
vfs_fat.c
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_lfs.c
vfs_lfs.h
vfs_lfsx.c
vfs_lfsx_file.c
vfs_posix.c
vfs_posix.h
vfs_posix_file.c
vfs_reader.c
virtpin.c
virtpin.h