Ignore:
Timestamp:
19/01/10 14:48:11 (12 years ago)
Author:
domlowe
Message:

Fixed bug reported in  http://proj.badc.rl.ac.uk/badc/ticket/21469

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/lib/wmc_util.py

    r5841 r6335  
    118118            # User is authenticated but doesn't have the required permissions 
    119119            # or an error occurred in the authorization process 
    120             # Read response                    
    121             xresponse = e.read() 
    122             # Send response to user 
    123             self.start_response("%d %s" % (e.code, e.msg), e.headers.dict.items()) 
    124             return xresponse 
     120            # User is authenticated but doesn't have the required permissions 
     121            # or an error occurred in the authorization process 
     122            return abort(403) 
    125123        else: 
    126124            raise e 
Note: See TracChangeset for help on using the changeset viewer.