For this URL:
http://www.utilitymill.com/api/xml/utility/get_Book_Data_by_ISBNs/13/run?HTML=&ISBNS=9780596513986%0D%0A9780688128166

When I call web.input() I get this:

"<Storage {'HTML': '',
'ISBNS': '9780596513986%0D%0A9780688128166'}>"

So I'm wondering why the %0D%0A aren't converted into \r\n for me?

Here's the relevant code:

class Utility_Run:
    def GET(self,return_format,name,revision):
        """ """
        err=check_name_rev_exist(name,revision)
        if err:
            web.header('Content-Type', 'text/html')
            print 'ERROR: '+err
            return
        #get inputs from url encoded
        dinputs=web.input()
        web.debug(str(dinputs))

Thanks in advance for any ideas,

-Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to