Skip to content

Releases: xp-forge/web

1.10.0: Filter functions

03 Nov 13:21
Compare
Choose a tag to compare
  • Merged PR #61: Also accept filter functions in constructor - @thekid

1.9.0: Web testing improvements

21 Aug 15:48
Compare
Choose a tag to compare
  • Added start(), header() and body() accessors to web.io.TestOutput
    (@thekid)
  • Heads up: Deprecated web.io.TestOutput::using() in favor of its
    constructor, which now accepts the same arguments.
    (@thekid)
  • Merged PR #56: web.io.TestOutput constructors - @thekid
  • Merged PR #55: Calculate content length of given body - @thekid
  • Merged PR #54: Add ability to pass body as map to web.io.TestInput
    (@thekid)

1.8.0: Dispatch parameters

21 Aug 15:26
Compare
Choose a tag to compare
  • Heads up: Always treat first parameter to Request::dispatch() as
    absolute path!
    (@thekid)
  • Added optional parameter to Request::dispatch() to allow passing
    request parameters.
    (@thekid)

1.7.0: PHP 7.4 compatibility

16 Aug 09:18
Compare
Choose a tag to compare

1.6.4: Apache FastCGI bug workaround

09 Oct 15:34
Compare
Choose a tag to compare

1.6.3: CGI fix

09 Oct 14:36
Compare
Choose a tag to compare
  • Fixed "CONTENT_LENGTH" and "CONTENT_TYPE" request meta-variables
    not being honored when behind a CGI interface
    (@thekid)

1.6.2: Web entry point fixes

09 Oct 11:41
Compare
Choose a tag to compare
  • Fixed WEB_CONFIG multiple config path parsing - @thekid
  • Fixed WEB_LOG to default to no logging in web-main entry point;
    previously, this would try to create a file with an empty name.
    (@thekid)
  • Documented environment variables in xp.web.WebRunner - @thekid

1.6.1: Protocol robustness fixes

27 Aug 01:52
Compare
Choose a tag to compare
  • Fixed Transfer-Encoding: chunked for development webserver - @thekid
  • Closed issue #26: Handle preconnect (was already handled) - @thekid
  • Changed protocol to send 400 Bad Request when neither receiving a
    complete HTTP status line within the initial socket read nor after an
    additional 100 ms.
    (@thekid)

1.6.0: Trailing slashes

24 Aug 11:08
Compare
Choose a tag to compare
  • Changed FilesFrom handler to support directories without trailing
    slashes; and to add it if necessary be redirecting the user agent.
    Users might type directory names without "/", leading to resources
    loaded relatively from within the index.html file to produce wrong
    absolute URIs. This mirrors Apache's DirectorySlash directive, see
    http://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryslash
    (@thekid)

1.5.1: Error logging fix

21 Aug 15:16
Compare
Choose a tag to compare
  • Fixed console and file loggers when logging errors - @thekid