[Koha-bugs] [Bug 7613] OCLC Connexion Gateway
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 22 02:04:05 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7613
--- Comment #15 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
There are some things to watch out for. I don't think
curl -b svc.cookie --data @one.xml
will work, cause it will make a request with
Content-Type: application/x-www-form-urlencoded
This is actually a non-standard POST, so needs to be
Content-Type: text/plain
That's because we don't have param/value pairs, and we don't have them because
* then we'd need to encode xml
* svc/new_bib did not do that, and the idea was to make this a drop-in
replacement; this also ruled out multipart option
So CGI will devour content if it is application/x-www-form-urlencoded. I assume
--header="content-type: text/plain" would work (it did with wget).
Regardless, an error should be thrown in the apache log file
So can you please:
* try with --header, and if no luck
* send me:
- one.xml
- curl response
- error from the apache log if any
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list