Skip to content

remove printing headers with every request on local hast server [DefaultInAppLocalhostServer] #2630

@Osama-Al-Fawaz

Description

@Osama-Al-Fawaz

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The headers print to the console with every new request

Expected Behavior

It shouldn't print. Seems like a debugging print that was forgotten

Steps with code example to reproduce

Steps with code example to reproduce
  • run local host server
  • load up a request
  • headers print in console

Stacktrace/Logs

Stacktrace/Logs
flutter: content-type: text/html; charset=utf-8
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
transfer-encoding: chunked
x-content-type-options: nosniff
flutter: content-type: application/javascript; charset=utf-8
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
transfer-encoding: chunked
x-content-type-options: nosniff
flutter: content-type: application/javascript; charset=utf-8
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
transfer-encoding: chunked
x-content-type-options: nosniff

Flutter version

3.27.4

Operating System, Device-specific and/or Tool

all platforms

Plugin version

v6.2.0-beta.2

Additional information

seems like it was accidentally forgotten. it's not a big deal, but it is annoying and clutters the debug console

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions