X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_send_api.h;fp=php_http_send_api.h;h=aef44909d8ca22f24eb4b7562143da84710eccec;hp=ff4e2c0d3c319bfc6b3939db17de871605853a7f;hb=df90736032e1dace78ea996502cc0f69806909e2;hpb=1db2ac7587e2c201b2b0534c385fbb833788a335 diff --git a/php_http_send_api.h b/php_http_send_api.h index ff4e2c0..aef4490 100644 --- a/php_http_send_api.h +++ b/php_http_send_api.h @@ -20,10 +20,11 @@ typedef enum { SEND_RSRC } http_send_mode; -#define HTTP_REDIRECT 302L -#define HTTP_REDIRECT_AUTO 0L +#define HTTP_REDIRECT 0L #define HTTP_REDIRECT_PERM 301L +#define HTTP_REDIRECT_FOUND 302L #define HTTP_REDIRECT_POST 303L +#define HTTP_REDIRECT_PROXY 305L #define HTTP_REDIRECT_TEMP 307L extern PHP_MINIT_FUNCTION(http_send);