Skip to content

Expect: 100-continue #267

Closed
Closed
@tumb1er

Description

Is it supported in aiohttp.web server?

$> curl -v -include --form data=@1.f4f http://192.168.70.104:8080/uploader/123/
*   Trying 192.168.70.104...
* Connected to 192.168.70.104 (192.168.70.104) port 8080 (#0)
> POST /uploader/123/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 192.168.70.104:8080
> Accept: */*
> Content-Length: 408460805
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------9fa6693db84f46b3
> 
* Done waiting for 100-continue
< HTTP/1.1 200 OK

Nginx + Django response looks like this:

> POST /accounts/login/ HTTP/1.1
> User-Agent: curl/7.35.0
> Host: ***
> Accept: */*
> Expect: 100-continue
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 96
> 
< HTTP/1.1 100 Continue
< HTTP/1.1 403 FORBIDDEN

Nginx responses with HTTP/1.1 100 Continue first.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions