Comments (2)
I don't know whether this functionality is documented or not but one of my colleagues whist reading the tests found out about this.
Which allowed us to define custom verbs and solve our particular issue like so:
(def routes
(io.pedestal.http.route.definition.table/table-routes
{:verbs #{:any :get :put :post :delete :patch :options :head :query}} my-routes))
from pedestal.
Yes, it is possible to customize what verbs should be allowed: #443
It looks like it shuld be part of some documentation, but it seems to work like BaumgartnerWilliam shows.
from pedestal.
Related Issues (20)
- [Question] How add interceptor on verb route? HOT 3
- Jetty dependency vulnerabilities HOT 1
- SSE: How to disable logging(WARN) of stacktrace on client disconnect HOT 2
- Upgrade Pedestal to use Jetty 11 HOT 7
- Weird behavior with table syntax HOT 15
- Bug in prefix tree router implementation HOT 3
- Warnings related to : clojure.tools.analyzer.utils/update-vals HOT 1
- Support client certs in response-for
- HTTP Headers should be treated as case-insensitive HOT 1
- CORS interceptor should provide an :error interceptor HOT 1
- Explicitly deprecate the io.pedestal.interceptor.helpers namespace
- Standard configuration to enable WebSocket routing HOT 1
- async interceptors are blocking the chain HOT 4
- CVEs on current `pedestal/jetty` version HOT 3
- Netty example HOT 1
- 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
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.