Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential fix to the bug im having #23622

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion vlib/net/http/response.v
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,21 @@

// Parse a raw HTTP response into a Response object
pub fn parse_response(resp string) !Response {
version, status_code, status_msg := parse_status_line(resp.all_before('\r\n'))!
sline := resp.all_before('\r\n')
mut version := ""
mut status_code := ""
mut status_msg := ""
//this may be a hack, but it means i can get free completions from ai.hackclub.com
//fix sites that send malformed responses with leading newlines
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well... I think we must avoid handling things out of documented standards.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning an error would be more interesting to respond to a bad request error. IMHO

if sline.len != 0{
version, status_code, status_msg = parse_status_line(sline)!

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / clang (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / websocket_tests

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-sdl-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / check-markdown

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / check-markdown

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / check-markdown

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / check-markdown

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / check-markdown

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 45 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`
} else{
for line in resp.split("\r\n"){
if line.len != 0{
version, status_code, status_msg = parse_status_line(line)!

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / clang (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / websocket_tests

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-sdl-examples

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`

Check failure on line 49 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to `status_code`: expected `string`, not `int`
}
}
}
// Build resp header map and separate the body
start_idx, end_idx := find_headers_range(resp)!
header := parse_headers(resp.substr(start_idx, end_idx))!
Expand All @@ -45,7 +59,7 @@
}
return Response{
http_version: version
status_code: status_code

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / toml-module-pass-external-test-suites

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / test-regression

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vpm-site (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / macos (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-doom (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (clang)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / linux (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / tools-docker-ubuntu-musl

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (ubuntu-22.04, v_linux.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vab-compiles-v-examples

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-os-android

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / clang (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-14, v_macos_arm64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (tcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (gcc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / windows (msvc)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / websocket_tests

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-up-works-nix (macos-13, v_macos_x86_64.zip)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-sdl-examples

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / build-module-docs

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vsl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (ubuntu-20.04)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / vtl (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / v-compiles-puzzle-vibes

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / gg-regressions

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (macos-14)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / misc-tooling

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`

Check failure on line 62 in vlib/net/http/response.v

View workflow job for this annotation

GitHub Actions / common (ubuntu-latest)

cannot assign to field `status_code`: expected `int`, not `string`
status_msg: status_msg
header: header
body: body
Expand Down
Loading