Skip to content

Will this script change http request Content-Type header? #2

Description

@uniquejava

Seems not. Spring boot application will still reject this form submit request with http status code 415.

And with the following error log.

[10-15 12:52:10 WARN ] [o.s.w.s.m.s.DefaultHandlerExceptionResolver] Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'text/plain;charset=UTF-8' not supported]

I guest this will only work for these servers which do not check Content-Type header.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions