aboutsummaryrefslogtreecommitdiff
path: root/src/url.zig (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-08added some improvements on server (#2803)Gravatar Ciro Spaciari 1-3/+11
* added some improvements on server * undo unintended change * clean data handler before end calls * refactor * make ctx.resp nullable --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-04-19Fix broken autocompleteGravatar Jarred Sumner 1-1/+1
2023-04-09Remove usages of `void{}` in favor of `{}`Gravatar Jarred Sumner 1-1/+1
See https://github.com/ziglang/zig/issues/15213
2023-03-15allows Bun.serve to listen on IPV6 (#2400)Gravatar Ciro Spaciari 1-21/+53
2023-02-24prefer `bun.copy()` over `std.mem.copy()` (#2152)Gravatar Alex Lam S.L 1-1/+1
2023-02-23Upgrade Zig (#2151)Gravatar Dylan Conway 1-4/+4
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
2023-02-13Implement `FormData` (#2051)Gravatar Jarred Sumner 1-0/+303
* Backport std::forward change * Implement `FormData` * Fix io_darwin headers issue * Implement `Blob` support in FormData * Add test for file upload * Fix bug with Blob not reading Content-Type * Finish implementing FormData * Add FormData to types --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-01-03Remove usages of std.xGravatar Jarred Sumner 1-14/+0
2022-12-28Upgrade to latest Zig (#1610)Gravatar Jarred Sumner 1-39/+39
* @min and @max * builtins and some trivial ones * Most of them * more * more! * More Progress * wip * Update tagged_pointer.zig * Update http_client_async.zig * Most of the iterable dir changes * alright * Remove usages of deprecated formatters * :camera: * fmt * Update shimmer.zig * wip * wip * wip * progress * more * Latest * stuck on error * latest * workaround stage2 * wip * Update string_immutable.zig * wip * Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings * Fix build errors * Fixup most of the test failures * Fix `make headers` * Fix "outside package path" error * Fixup aligned alloc * Add missing file * linux * More linux fixes * use latest peechy * Fix transpiler test failure * Forgot about these * Fixup test failure * Update node-timers.test.ts * [node:htt] Fix `undefined is not an object` error Fixes https://github.com/oven-sh/bun/issues/1618 * Update http.exports.js * Make this test less flaky * fix hashes * Fix hex formatting and zls issues * Download zig version * Update Dockerfile * Update Dockerfile * Update uws * Update Dockerfile * Set llvm version * Update README.md * Update uws * Update Dockerfile * Update io_linux.zig * Update bun.zig * Log output * workaround strange @cInclude error * Make ffi tests better * Don't use cImport * Update c.zig * Update c-bindings.cpp * call setOutputDir * Update Dockerfile * Use a longer name * latest * Update serve.test.ts Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Veikka Tuominen <git@vexu.eu>
2022-11-29import everything from "bun" where possibleGravatar Jarred Sumner 1-1/+1
2022-11-22[FileSystemRouter] Fix failing testsGravatar Jarred Sumner 1-7/+6
2022-11-22[FileSystemRouter] base_dir, Request, ResponseGravatar Jarred Sumner 1-7/+6
2022-11-22Introduce `Bun.FileSystemRouter` APIGravatar Jarred Sumner 1-18/+31
2022-11-21make it slightly clearerGravatar Jarred Sumner 1-1/+3
2022-11-20fix protocol relative urls againGravatar Jarred Sumner 1-14/+22
2022-11-19[fetch] Fix sporadic data corruption bug in HTTP client and add fast pathGravatar Jarred Sumner 1-1/+5
- This removes memory pooling from the HTTP client which sometimes caused invalid memory to be written to the response body. - This adds a fast path for small HTTP/HTTPS responses that makes it a single memory allocation for the response body, instead of copying & allocating a temporary buffer cc @Electroid
2022-11-16Another testGravatar Jarred Sumner 1-0/+9
2022-11-15Handle trailing slashGravatar Jarred Sumner 1-1/+17
2022-11-15Fixes #1390Gravatar Jarred Sumner 1-24/+45
2022-11-09Fix #1354Gravatar Jarred Sumner 1-1/+1
2022-04-07More typesGravatar Jarred Sumner 1-0/+4
2022-03-17query_string_map -> urlGravatar Jarred Sumner 1-0/+1421