1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/tls
Andy Green 0f7f27801e http redirect: 303: force method to GET
This teaches http client stuff how to handle 303 redirects... these
can happen after POST where the server side wants you to come back with
a GET to the Location: mentioned.

lws client will follow the redirect and force GET, this works for both
h1 and h2.  Client protocol handler has to act differently if it finds
it is connecting for the initial POST or the subsequent GET, it can
find out which by checking a new api lws_http_is_redirected_to_get(wsi)
which returns nonzero if in GET mode.

Minimal example for server form-post has a new --303 switch to enable
this behaviour there and the client post example has additions to
check lws_http_is_redirected_to_get().
2019-11-17 10:47:01 +00:00
..
mbedtls http redirect: 303: force method to GET 2019-11-17 10:47:01 +00:00
openssl acme: add wildcard support to CSR 2019-11-06 16:02:36 +00:00
lws-gencrypto-common.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws-genec-common.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
private-lib-tls.h freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
private-network.h clean: internally use LWS_WITH_CLIENT and _SERVER 2019-08-26 09:58:57 +01:00
tls-client.c http_proxy: fix for mbedtls 2019-11-16 09:00:15 +00:00
tls-network.c client: improve redirect 2019-09-22 03:07:57 -07:00
tls-server.c alpn: move out of tls-server so it can be used if server disabled 2019-11-06 06:39:28 +00:00
tls.c alpn: move out of tls-server so it can be used if server disabled 2019-11-06 06:39:28 +00:00