[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uppercase problem



Sender: Scott Klement <klemscot@xxxxxxxxxxxx>



> Just a note.  I tried to use a URL with the HTTP API that had the protocol
> in upper case ('HTTP' vs. 'http') and it didn't work.  In the code it might
> be a good idea to convert the  protocol value to upper/lower case,
>
> When I switched it to lower case it recognized it as a valid protocol.

That's easy... one line of code :)

> unless this is a W3 recommendation, but my browser doesn't impose that
> restriction.

You mean the IETF, right?   W3 is in charge of HTML and XML, not HTTP.

I don't see any harm in changing the "http:" or "https:" part of the URL
to lowercase, as long as we don't change the pathname that's at the end
of the URL.

I've already changed it and put it in the "beta" version on my site.
Please download it and see if it solves your problem.   Here it is:

http://www.scottklement.com/httpapi/beta/httpapi.savf


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------