;android devices triggered a weblocks bug
;they send X-Requested-With: com.android.browser
;weblocks assumes that existence of any X-Requested-With implies an ajax 
request
;in fact ajax requests set that header to XMLHttpRequest
;this corrects weblocks
(defun weblocks:ajax-request-p ()
  (equal "XMLHttpRequest" (hunchentoot::header-in* "X-Requested-With")))

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/weblocks.
For more options, visit https://groups.google.com/d/optout.

Reply via email to