Skip to content
Commits on Jan 28, 2016
  1. Merge pull request #187 from michaelbeam/master

    committed Jan 27, 2016
    replaced reference to deprecated code.google.com
Commits on Jan 27, 2016
  1. @michaelbeam
Commits on Jun 30, 2013
  1. Merge pull request #151 from octplane/enhanced_log_line

    committed Jun 30, 2013
    Log Request in a separated method
  2. @octplane

    Log Request in a separated method

    octplane committed Jun 1, 2013
    Log more informations in console:
    - static and dynamic requests
    - duration
    - request ip
    - Handled RemoteAddr more gracefully with non standard HttpRequest
    - Format
Commits on Jun 29, 2013
  1. @pbdeuchler

    Added NotAuthorized function, which gives a 403 response, and the res…

    pbdeuchler committed with Jun 4, 2013
    …pective tests. Also added additional logging for route/response code testing
    
    Refactored to include Unauthorized and Forbidden methods, instead of NotAuthorized
    
    Squash previous two commits, added Forbidden and Unauthorized methods
  2. gofmt

    committed Jun 29, 2013
  3. Fix example imports

    committed Jun 29, 2013
Commits on Jun 27, 2013
  1. Merge pull request #147 from pbdeuchler/basic-auth-rebase

    committed Jun 27, 2013
    Basic auth rebase
Commits on Jun 26, 2013
  1. @pbdeuchler

    Added BasicAuth tests

    pbdeuchler committed Jun 26, 2013
  2. @pbdeuchler

    Initial implementation of getBasicAuth, a *Context helper method

    pbdeuchler committed Jun 7, 2013
    Fixed implementation
    
    Added extra error checking
  3. Merge pull request #135 from apeacox/master

    committed Jun 26, 2013
    Refactor Makefile to decouple from filenames
Commits on Jun 16, 2013
  1. Merge pull request #139 from elliotttf/master

    committed Jun 16, 2013
    Support websockets
Commits on Jun 1, 2013
  1. @elliotttf

    Refactoring patch from #58.

    elliotttf committed May 31, 2013
Commits on May 22, 2013
  1. @apeacox
Commits on Apr 27, 2013
  1. @hraban

    More flexible ContentType implementation

    hraban committed with Apr 18, 2013
    Fixes issue #76
Commits on Apr 26, 2013
  1. Run `gofmt`

    committed Apr 26, 2013
Commits on Apr 25, 2013
Commits on Apr 22, 2013
  1. Add 'Profiler' option to ServerConfig

    committed Apr 21, 2013
    This enables the http/pprof endpoints.
Commits on Apr 21, 2013
  1. Split out web.Server and its methods into server.go

    committed Apr 20, 2013
    Also, add helpers.go to store the helper methods
  2. Add test for SetHeader

    committed Apr 20, 2013
  3. Updates to SCGI

    committed Apr 20, 2013
    * use a bufio.Reader when reading the request
    * avoid reading the entire request body
    * add test for reading method
    * refactor buildTestScgiRequest and make sure it builds valid SCGI requests
      according to the spec
Commits on Apr 16, 2013
  1. Remove reference to 'weekly' go branch

    committed Apr 16, 2013
    Go 1 does not do weekly releases anymore.
  2. Fix serving static files with `go run`

    committed Apr 15, 2013
    The sequence is now:
    1) Look in Config.StaticDir
    2) Look in the 'static' directory in the parent directory of the executable.
    3) Look in 'static' directory in the current working directory
    
    `go run` places the executable in a temp directory, so the only option is
    to also look in the current working directory.
Commits on Apr 14, 2013
  1. Use native net/http/fcgi package to serve FastCGI requests

    committed Apr 14, 2013
    This package didn't exist when I first wrote fcgi.go, and it
    doesn't make sense to have a separate implementation.
Commits on Apr 13, 2013
  1. @johnpmayer
  2. SetCookie now takes an http.Cookie

    committed Apr 13, 2013
    This provies more flexibility when setting cookie properties.
    There's a new helper method, NewCookie, that can construct
    http.Cookie objects from common values.
    
    Also include a cookie example
  3. @mattn

    Add web.Process and web.Server.Process

    mattn committed with Apr 13, 2013
    These invoke the routing system directly. They can be used for testing,
    as well as processing HTTP requests that are constructed from other
    sources.
Commits on Apr 12, 2013
  1. Remove Twitter link from Readme

    committed Apr 12, 2013
    I'm not particularly active on Twitter, so 
    it doesn't make sense to keep a link in
    the Readme.
  2. Fix multipart.go example

    committed Apr 11, 2013
  3. Add web.Match

    committed Apr 11, 2013
    This can match arbitrary HTTP methods (i.e OPTIONS or PATCH)
Commits on Apr 11, 2013
  1. Update docs link in Readme

    committed Apr 11, 2013
Commits on Apr 10, 2013
  1. Add link to new docs site

    committed Apr 10, 2013
Something went wrong with that request. Please try again.