## Summary of WebKit.HTTPResponse

You can also browse the complete source file or the generated documentation.

    class HTTPResponse(Response):

        ## Init ##
        def __init__(self, transaction, strmOut, headers=None)

        ## Protocol ##
        def protocol(self)

        ## Headers ##
        def header(self, name, default=NoDefault)
        def hasHeader(self, name)
        def setHeader(self, name, value)
        def headers(self, name=None)
        def clearHeaders(self)

        ## Cookies ##
        def cookie(self, name)
        def hasCookie(self, name)
        def setCookie(self, name, value, path='/', expires='ONCLOSE',
        def addCookie(self, cookie)
        def delCookie(self, name, path='/', secure=False)
        def cookies(self)
        def clearCookies(self)

        ## Status ##
        def setStatus(self, code, msg='')

        ## Special responses ##
        def sendError(self, code, msg='')
        def sendRedirect(self, url, status=None)
        def sendRedirectPermanent(self, url)
        def sendRedirectSeeOther(self, url)
        def sendRedirectTemporary(self, url)

        ## Output ##
        def write(self, charstr=None)
        def flush(self, autoFlush=True)
        def isCommitted(self)
        def deliver(self)
        def commit(self)
        def writeHeaders(self)
        def recordSession(self)
        def reset(self)
        def rawResponse(self)
        def size(self)
        def mergeTextHeaders(self, headerstr)

        ## Exception reporting ##
        def setErrorHeaders(self, err)
        def displayError(self, err)