Changeset 76

Show
Ignore:
Timestamp:
08/26/08 11:08:35 (3 months ago)
Author:
achiumenti
Message:

updated hunchentoot connector

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/main/connectors/hunchentoot/src/hunchentoot.lisp

    r56 r76  
    3030(in-package :hunchentoot-connector) 
    3131 
    32 (setf hunchentoot:*hunchentoot-default-external-format* (flex:make-external-format :utf-8 :eol-style :lf)) 
    33 (setf hunchentoot:*default-content-type* "text/html; charset=utf-8") 
     32(setf hunchentoot:*hunchentoot-default-external-format* (flex:make-external-format :utf-8 :eol-style :lf) 
     33      hunchentoot:*default-content-type* "text/html; charset=utf-8" 
     34      hunchentoot:*handle-http-errors-p* nil) 
    3435 
    3536(defgeneric claw-to-hunchentoot-cookie (claw-cookie) 
     
    314315(defmethod (setf connector-reply-external-format-encoding) (value (connector hunchentoot-connector)) 
    315316  (let ((encoding (flexi-streams:external-format-name (hunchentoot:reply-external-format)))) 
    316     ;(log-message :info "ENCODING: ~a| VALUE: ~a" encoding value) 
    317317    (unless (and (null value) (equal encoding value)) 
    318318      (setf (hunchentoot:reply-external-format) 
     
    321321(defmethod connector-writer ((connector hunchentoot-connector)) 
    322322  (hunchentoot:send-headers)) 
    323   ;*standard-output*) 
    324323 
    325324(defmethod connector-redirect ((connector hunchentoot-connector) target &key host port protocol add-session-id code)