Loïc Hoguin
|
7f35f693fc
Fix specs for cowboy_http_req:reply/4.
|
14 years ago |
Loïc Hoguin
|
c32db277c8
Fix a bug where dupe headers were sent in cowboy_http_req:reply/4.
|
14 years ago |
Anthony Ramine
|
101034842e
Make the default value the last parameter of HTTP req accessors
|
14 years ago |
Anthony Ramine
|
96a770620e
Make HTTP req accessors call themselves with their default default value
|
14 years ago |
Anthony Ramine
|
4eeabe5612
Fix cowboy_http_req:body with regard to the new accessors default value
|
14 years ago |
Loïc Hoguin
|
150723ca21
Return undefined instead of failing or returning "" when a value doesn't exist.
|
14 years ago |
Loïc Hoguin
|
71e940a6eb
Fix query string related type specs in cowboy_http_req.
|
14 years ago |
Loïc Hoguin
|
3865415a60
Boring 80-col change.
|
14 years ago |
Loïc Hoguin
|
06274cd8ab
Introduce cowboy_http_req:body_qs/1 for automated urlencoded body parsing.
|
14 years ago |
Loïc Hoguin
|
775a03e6eb
Fix spec for cowboy_http_req:parse_qs/1.
|
14 years ago |
Loïc Hoguin
|
c645b682e7
Fix spec for cowboy_http_req:body/1 and body/2.
|
14 years ago |
Loïc Hoguin
|
545116edfa
Fix spec for cowboy_http_req:reply/4.
|
14 years ago |
Loïc Hoguin
|
fdd9d4c0ef
Fix spec for cowboy_http_req:qs_vals/1.
|
14 years ago |
Loïc Hoguin
|
7cacb88fec
Introduce cowboy_http_req:body/1 to read the full request body.
|
14 years ago |
Loïc Hoguin
|
8b02992e6a
Skip the request body if it hasn't been read by the handler.
|
14 years ago |
Loïc Hoguin
|
71b31cee92
Make sure we can only reply to an HTTP request inside Handler:handle.
|
14 years ago |
Loïc Hoguin
|
d69d0adfa7
Lazy-retrieve the peer name and port to avoid wasting time each request.
|
14 years ago |
Loïc Hoguin
|
408f167621
Move the reply function to cowboy_http_req.
|
14 years ago |
Loïc Hoguin
|
da72255940
Initial commit.
|
14 years ago |