Skip to content
#

web-framework

Here are 718 public repositories matching this topic...

vapor
hsharghi
hsharghi commented Apr 18, 2021

Describe the bug

Using content type application/x-www-form-urlencoded , Validating a request body contents for required fields, when none of them is present on the the body, validator returns Abort.422: Unprocessable Entity error instead of ValidationError

This issue will not occurs when content type is application/json

To Reproduce

Create a request content with one

aschiffmann
aschiffmann commented Apr 21, 2021

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Issue Description

When using the RateLimiter Middleware with a rate between 0 and 1 all events will be rejected instead of applying the specified rate. E.g.: e.Use(middleware.RateLimiter(middleware.NewRateLimiterMemoryStore(0.5)))

I am not saying that it is a common use case to have

yew
Jerbell
Jerbell commented Jun 8, 2021

Actual behavior (the bug)
When Javalin (Jetty) tries to bind to a port that's in use, it will always complain that it's port 7000 whatever port it's binding to.

Expected behavior
If it's trying to bind to port 443, then the error message should say that.

To Reproduce
Start up 2 Javalin server on the same port.

Additional context
Example stack trace (notice the IOExcept

Improve this page

Add a description, image, and links to the web-framework topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the web-framework topic, visit your repo's landing page and select "manage topics."

Learn more