Regression fix for exporting access logging functions

Review Request #6973 — Created Feb. 23, 2015 and submitted

jyuen
rb-gateway
master
8847aa7...
rb-gateway

I ran into a bug I introduced when testing rb-gateway. The access logging won't work unless the WriteHeader and Write functions are exported. Otherwise, the default 200 OK response will always be returned with a content length of 0.

Ran any invalid API request and verified that the response was not 200 OK.

reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        main.go
    
    
    
    Tool: Pyflakes
    Ignored Files:
        main.go
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
JY
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (745a8d2)
Loading...