Comments (1)
The problem here is actually the query
property itself that is not const
. It used to be a normal field in the early days, but now parses the query string lazily for performance reasons and thus cannot be const
. It seems like we need to change it from const(HTTPServerRequest) request() const
to inout(HTTPServerRequest) request() inout
and just document that the returned request may not be modified.
from vibe.d.
Related Issues (20)
- Can't build on (AWS ?) Linux HOT 3
- Unable to call the get method from the request form HOT 2
- Getting and sending JSON correctly HOT 1
- [CLOSED] How to deal with generated code via preBuildCommands? HOT 1
- Error when building on Raspberry Pi HOT 1
- notls has no effect
- build fails linking ssl - mac HOT 1
- Any way to write headers after response handler returns? HOT 2
- [bug] why "runWorkerTaskH" executes in same thread for multiple jobs/connections? HOT 2
- [vibe.d] WebSocket mess with "cast(shared) ..." HOT 1
- Access log is pretty useless for vibe server behind a proxy HOT 3
- Proposal: remove whole Meson support at all HOT 11
- Regression #249 - failed to listen to address with default
- Invalid character in internet path. HOT 6
- How to get the client's MAC address in Vibe HOT 2
- Files are not uploaded using nested paths HOT 7
- Error on creating a mongo connection HOT 7
- Use Promises for REST JS clients
- an example email sent through Gmail 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 vibe.d.