Ask Your Question

Revision history [back]

This doesn't work, since the HTTP/1.1 200 OK is the HTTP status, rather than the response. By definition, the response of a HEAD request is empty, which is what you're seeing.

Now, the HTTP Client Origin does put the HTTP headers in record header attributes, but the status line is not a header, so it's not there either. In addition, it looks like the origin doesn't create any records if the response is empty.

Please open an issue at https://issues.streamsets.com/ to add HTTP status to the record header in the HTTP Client Origin and Processor, and to create a record with empty contents if the HTTP response is empty.