Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 30, 2013
  1. Merge pull request #151 from octplane/enhanced_log_line

    authored
    Log Request in a separated method
  2. @octplane

    Log Request in a separated method

    octplane authored
    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 authored committed
    …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

    authored
  3. Fix example imports

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

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

    Added BasicAuth tests

    pbdeuchler authored
  2. @pbdeuchler

    Initial implementation of getBasicAuth, a *Context helper method

    pbdeuchler authored
    Fixed implementation
    
    Added extra error checking
  3. Merge pull request #135 from apeacox/master

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

    authored
    Support websockets
Commits on Jun 1, 2013
  1. @elliotttf

    Refactoring patch from #58.

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

    More flexible ContentType implementation

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

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

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

    authored
    Also, add helpers.go to store the helper methods
  2. Add test for SetHeader

    authored
  3. Updates to SCGI

    authored
    * 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

    authored
    Go 1 does not do weekly releases anymore.
  2. Fix serving static files with `go run`

    authored
    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

    authored
    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

    authored
    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 authored committed
    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

    authored
    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

    authored
  3. Add web.Match

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

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

    authored
  2. Added more method docs.

    authored
    This is in preparation for the new godoc-driven
    docs page.
Something went wrong with that request. Please try again.