From 61e1a92d1e4a812bedb504bce60d3027042bc9a1 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Fri, 1 Jun 2007 08:06:17 +0000 Subject: [PATCH] Changing the request header. --- js/pz2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/pz2.js b/js/pz2.js index e2025d0..c0fac99 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.22 2007-05-31 08:46:32 jakub Exp $ +** $Id: pz2.js,v 1.23 2007-06-01 08:06:17 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -541,6 +541,7 @@ pzHttpRequest.prototype = 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.onreadystatechange = function () { context._handleResponse(); } -- 1.7.10.4