mithril-vndb/request/tests
Isiah Meadows 85bfd0f77d
Clarify pathname docs, follow spec with fragments (#2448)
* Clarify pathname docs, follow spec with fragments

- Valid URLs must not contain a `#` within its fragment.
  https://github.com/MithrilJS/mithril.js/issues/2445
- Our docs were a little confusing and misleading - `m.pathname` isn't
  aware of URLs, just path names.
- Removed the relevant extension to `m.parseQueryString` required to
  support the hash parsing extension. Now we just shave it off and
  ignore it.
- Fix support for arbitrary prefixes, so prefixes like `?#` are
  handled correctly.
- Add a bunch of tests to cover various areas of confusion and unusual
  edge cases.

* Update with PR [skip ci]
2019-07-03 06:22:25 -04:00
..
index.html fix tests from #1470 2016-12-07 11:58:30 -05:00
test-jsonp.js Streamline route/request path handling and split params + body in requests (#2361) 2019-05-29 09:28:40 -04:00
test-request.js Clarify pathname docs, follow spec with fragments (#2448) 2019-07-03 06:22:25 -04:00