projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61e1a92
)
Form url encoded.
author
Jakub Skoczen
<jakub@indexdata.dk>
Fri, 1 Jun 2007 08:16:12 +0000
(08:16 +0000)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Fri, 1 Jun 2007 08:16:12 +0000
(08:16 +0000)
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
c0fac99
..
be895d0
100644
(file)
--- a/
js/pz2.js
+++ b/
js/pz2.js
@@
-1,5
+1,5
@@
/*
/*
-** $Id: pz2.js,v 1.23 2007-06-01 08:06:17 jakub Exp $
+** $Id: pz2.js,v 1.24 2007-06-01 08:16:12 jakub Exp $
** pz2.js - pazpar2's javascript client library.
*/
** pz2.js - pazpar2's javascript client library.
*/
@@
-541,7
+541,7
@@
pzHttpRequest.prototype =
var context = this;
this.request.open( 'GET', getUrl, true );
var context = this;
this.request.open( 'GET', getUrl, true );
- this.request.setRequestHeader('Accept-Charset', 'ISO-8859-1,utf-8;q=0.7,*;q=0.7');
+ this.request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
this.request.onreadystatechange = function () {
context._handleResponse();
}
this.request.onreadystatechange = function () {
context._handleResponse();
}