aboutsummaryrefslogtreecommitdiffstats
path: root/guide/req.md
AgeCommit message (Collapse)Author
2013-04-11Remove cowboy_req:peer_addr/1Loïc Hoguin
This kind of function is highly dependent on the proxy used, therefore parsing was added for x-forwarded-for instead and we just let users write the function that works for them. The code can be easily extracted if anyone was using the function.
2013-04-02Replace init_stream/5 with stream_body/2Loïc Hoguin
This allows us to change the max chunk length on a per chunk basis instead of for the whole stream. It's also much easier to use this way even if we don't want to change the chunk size.
2013-03-06Check the length before reading the body in body/1 and body_qs/1rambocoder
2013-03-05Make streamed chunk size configurableLoïc Hoguin
Defaults to a maximum of 1000000 bytes. Also standardize the te_identity and te_chunked decoding functions. Now they both try to read as much as possible (up to the limit), making body reading much faster when not using chunked encoding.
2013-01-29Add a section about closing the connection in the guideLoïc Hoguin
2013-01-20First draft done for the request object guide chapterLoïc Hoguin
2013-01-19More request object documentation in the guideLoïc Hoguin
2013-01-18Beginning of request object chapter in the guideLoïc Hoguin
2013-01-01Add a skeleton of the guide to ease user contributionsLoïc Hoguin
Has some stuff that aren't in master yet, and lacks a lot more that is already in master.