Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-07 | Add cowboy_http_req:set_resp_cookie/4 | Loïc Hoguin | |
Pretty much just an alias for a combination of set_resp_header and cookie. | |||
2011-11-28 | Add set_resp_header/3 and set_resp_body/2 to cowboy_http_req | Loïc Hoguin | |
These functions allow to set response headers and body in advance, before calling any of the reply functions. Also add has_resp_header/2 and has_resp_body/1 to check if the given response headers have already been set. |