Skip to content

webfakes 1.5.0

Latest

Choose a tag to compare

@gaborcsardi gaborcsardi released this 17 May 08:19
  • New keep_alive_timeout_ms option in server_opts() to configure the
    idle timeout of keep-alive connections. The default is 5000 ms, up from
    the underlying CivetWeb default of 500 ms (#114).

  • Handler functions may now declare a locals argument, in which case
    webfakes passes app$locals to it directly, without having to access
    it through req$app$locals (#112).

  • webfakes now builds on platforms where ar does not writes a symbol
    index by default (@barracuda156, #121).

  • webfakes now parses HTTP date headers (e.g. Date, Last-Modified,
    Expires) correctly regardless of the user's LC_TIME setting
    (@lbm364dl, #124).

  • Route matching now ignores trailing slashes. Use regular expressions
    (new_regexp()) if you need exact trailing slash matching (#120).

  • httpbin_app()'s /post, /put, /patch, /delete and /anything*
    endpoints now return the request body in the data field for any
    Content-Type, matching httpbin.org (#115).