Closed 2keda closed 6 years ago
how can i get/read SomeHeader=SomeValue request header with brook, i used HttpRequest.GetCustomHeader('SomeHeader') but i got empty result.
Headers are sent with :
as key-value separator, not =
.
oh, and how to get/read client request body
HttpRequest.Content
for plain request body (useful for something you have to process later such as JSON/XML) or simply Fields
property for form based one (both application/x-www-form-urlencoded
and multipart/form-data
).
Closing due to no more activities on the issue. Please feel free to reissue if the problem persists.
hello, i'm new with brook,
when client send request with modified header, like SomeHeader=SomeValue.
how can i get/read SomeHeader=SomeValue request header with brook, i used HttpRequest.GetCustomHeader('SomeHeader') but i got empty result.
oh, and how to get/read client request body
Thanks.