Closed wallrj closed 10 years ago
Thanks - @mfojtik can you tweak this?
@smarterclayton @wallrj sure thing. I think I add those headers to make Go http client happy as without headers just a raw HTML is returned from netcat instead of a proper HTTP response.
Marking as fixed
busybox-http-app is a useful little container; we are using it in our functional tests to check that our wrappers correctly configure and call
geard
.But we notice that the
index.html
served by busybox httpd actually contains HTTP header lines....which seems like a mistake.It results in the following confusing HTTP conversation.
Perhaps those headers should have been removed from the html file in https://github.com/openshift/geard/pull/144 and perhaps the file should be renamed
index.txt
so thatbusybox httpd
serves it with the correct content-type. May also have to configurebusybox httpd
to treatindex.txt
as an index file.