views:

572

answers:

2

I have a WebForms page (.aspx) that accepts parameters via get / post and returns XML. This works in all browsers except for Safari where I get this gem:

Safari can’t open the page [URL]. The error was: “unknown error” 
(CFURLErrorDomain:303) Please choose Report Bugs to Apple from the Help menu, 
note the error number, and describe what you did before you saw this message.

Anyone see this before or know what it means?

UPDATE:

The web service is working for the http:// protocol, but fails under https://

A: 

Is it really Safari or is it Webkit? That is have you tried it with Chrome and/or Konquerer? It's possible that may give you an additional clue.

Cruachan
This works in Chrome so it must be Safari-related
mmattax
A: 

I had the same problem. Worked via HTTP, didn't via HTTPS. Adding the Content-Length header fixed it for me:

Context.Response.AddHeader("Content-Length", result.Length)

Context.Response.Write(result)

jg