Comments (3)
Hmm, so we'd be lenient consider things like "content-type"
or :content-type
or :Content-Type
. I wonder how far sweeping this leniency would have to be given we normally deal in maps?
from pedestal.
The goal of the faux servlet test infrastructure is to ensure that your
service code works with the data it would get from a servlet, so the goal
should be to emulate that data. That said, the servlet-interceptor
lower-cases header names when it builds the headers map for the request
map. So this seems like a reasonable change in response-for. The main risk
to this change is that if, at some point, servlet-interceptor did something
more with headers, some tests that used lower-case headers might break. I
would prefer we use correct casing for HTTP headers, as per the spec, but
if this is a real pain point, I'm not against making the test jig a little
more lenient.
Tim-
On Fri, May 31, 2013 at 11:41 AM, Ryan Neufeld [email protected]:
Hmm, so we'd be lenient consider things like "content-type" or
:content-type or :Content-Type. I wonder how far sweeping this leniency
would have to be given we normally deal in maps?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/79#issuecomment-18752926
.
from pedestal.
It sounds like the answer was a round-about "no."
from pedestal.
Related Issues (20)
- Netty example
- Upgrading to SLF4J 2.x
- It should be easier to start a connector listening on multiple ports
- Standardize support for web sockets HOT 1
- Remove support for Immutant HOT 4
- There is no test for the ClojureVarServlet HOT 1
- There are no tests for websocket support HOT 2
- Pedestal is not AOT-friendly HOT 1
- Security vulnerabilities related to Jetty 9.4.51 HOT 3
- proper support to VirtualThreads on pedestal.log HOT 1
- CVEs in Jetty 9.5.52 allow for DDoS attacks via HTTP/2 HOT 1
- Transit reader broken for some input stream implementations HOT 2
- Setup a stable performance testing environment
- Add a template for use with deps-new
- Seperate API documentation for each major release (0.6, 0.7, etc.) HOT 2
- Unable to access the application when running with Docker and io.pedestal/pedestal.service "0.6.1" HOT 2
- Support transformation of logging events at output HOT 1
- path-params-decoder interceptor should be idempotent HOT 1
- Re-enable nvd-clojure vulnerability checks once nvd-clojure updated to use DependencyCheck 9.x HOT 1
- Add configuration for linting using clj-kondo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pedestal.