Date: Thu, 22 Nov 2018 22:01:18 -0500 From: Farhan Khan <khanzf@gmail.com> To: freebsd-hackers@freebsd.org Subject: fetch(3) getting HTTP headers? Message-ID: <CAFd4kYBZio_gyPX40GATO=0VCHj6q6e9RxNzVTiQXER-sA0%2B9A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, It seems that fetch(3) does not have an interface to provide the HTTP headers from a request. If not, would this be a worthwhile library to expand to add that ability? Also, it strikes me as odd that fetch(3) uses environmental variables to set header values, rather than through a function argument. I ask because I am working on a project that uses the HTTP library and would prefer to use the native FreeBSD libraries before expanding to a 3rd party library. Thoughts? -- Farhan Khan PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFd4kYBZio_gyPX40GATO=0VCHj6q6e9RxNzVTiQXER-sA0%2B9A>