[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Problem with HTTP requests
- From: Chris Lumens <clumens redhat com>
- To: Anaconda-devel-list redhat com
- Cc:
- Subject: Re: Problem with HTTP requests
- Date: Fri, 12 Oct 2007 16:19:28 -0400
> Not sure how well formed that is or if lighttpd is being too picky.
>
> Perhaps the extra blank lines? Looks like in urlinstall.c:
>
>
> if (ui->protocol == URL_METHOD_HTTP) {
> char *arch = getProductArch();
> char *name = getProductName();
> int q;
>
> q = asprintf(&ehdrs, "User-Agent: anaconda/%s\r\n"
> "X-Anaconda-Architecture: %s\r\n"
> "X-Anaconda-System-Release: %s\r\n",
> VERSION, arch, name);
>
>
> arch and name must have some trailing newlines.
arch does, at least. We have code in loader.c to strip trailing
whitespace from everything but the architecture. I've updated it to
handle arch as well.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]