Did you read the documentation about writeToURL? It says:
Quote:
|
Since at present only file:// URLs are supported, there is no difference between this method and writeToFile:atomically:, except for the type of the first argument.
|
So it should not support URLS other than file://... I'm not shure why it works but to make a PUT seems the intended behaviour.