[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-06-13 Thread Dana Florescu
** Changed in: zorba Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http respon

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-10 Thread Paul J. Lucas
** Changed in: zorba Status: Opinion => Fix Committed ** Changed in: zorba Milestone: None => 2.5 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws erro

Re: [Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Dennis Knochenwefel
> When I run the sample query, I get: > > /http-client.xq>:108,1: static error [err:XQST0059]: "http://www.zorba- > xquery.com/modules/converters/html-options": target namespace not found > for schema/module "http://www.zorba-xquery.com/modules/converters/html- > options.xsd": Could not create str

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Paul J. Lucas
Still waiting for Dennis to give me a working query to test -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http response

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Matthias Brantner
I know but we can still raise zerr:ZXQP0006 from the http-client module. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Paul J. Lucas
@Matthias: that code works only for the core and core modules, not modules like the HTTP module. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no con

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Matthias Brantner
throw XQUERY_EXCEPTION( zerr::ZXQP0006_UNKNOWN_ENCODING, ERROR_PARAMS( lEncodingStr.c_str() ), ERROR_LOC( loc ) ); -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bu

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-09 Thread Paul J. Lucas
** Changed in: zorba Status: In Progress => Opinion -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http response Sta

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Paul J. Lucas
** Changed in: zorba Status: New => In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http response Status

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Paul J. Lucas
Also, what should happen if a Content-Type and charset are provided, but the charset is not supported by ICU? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws erro

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Paul J. Lucas
When I run the sample query, I get: :108,1: static error [err:XQST0059]: "http://www.zorba- xquery.com/modules/converters/html-options": target namespace not found for schema/module "http://www.zorba-xquery.com/modules/converters/html- options.xsd": Could not create stream resource; raised at /Use

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Dennis Knochenwefel
a comment in the http_response_parser.cpp says that the HTTP/1.1 spec says that the default charset is ISO-8859-1. That is the charset used in the response parser if a content-type without charset is returned. -- You received this bug notification because you are a member of Zorba Coders, which i

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Paul J. Lucas
Are you also saying that the correct behavior would also be to not do transcoding and just hope that the unspecified character set is UTF-8? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 T

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Paul J. Lucas
** Branch linked: lp:~paul-lucas/zorba/bug-996593 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: http client throws error with no content-type header in http response Status in Zo

[Zorba-coders] [Bug 996593] Re: http client throws error with no content-type header in http response

2012-05-08 Thread Dennis Knochenwefel
** Attachment added: "simple query to reproduce the error" https://bugs.launchpad.net/bugs/996593/+attachment/3136986/+files/test.xq -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/996593 Title: