You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by GitBox <gi...@apache.org> on 2019/07/31 00:06:04 UTC
[GitHub] [flume] Brekhin opened a new pull request #293: fix bug in adding
headers
Brekhin opened a new pull request #293: fix bug in adding headers
URL: https://github.com/apache/flume/pull/293
When I executed GET/POST request with headers and body from Postman I received an error:
`2019-07-26 20:39:33,520 (qtp428933649-22) [WARN - org.apache.flume.source.http.HTTPSource$FlumeHTTPServlet.doPost(HTTPSource.java:244)] Deserializer threw unexpected exception.
java.lang.IllegalArgumentException: Please specify parameter in the request.
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at org.apache.flume.source.http.BLOBHandler.getEvents(BLOBHandler.java:78)`
and headers from the request were not transmitted
My commit allows you to transfer all request headers and body.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services