Comments (2)
@JB-fy Fixed, but the OmitEmpty: true
for map converting should be manually set if necessary in new version from v2.6.2
.
from gf.
关于GetBodyString()的bug仍然有,测试版本2.6.3
1、当raw当时POST时,GetBodyString()可以正常拿到raw body
2、当application/x-www-form-urlencoded提交请求时,在处理请求的controller(handler)内、后置中间件里,GetBodyString()都拿不到数据;但是,如果添加一个前置中间件,在前置中间件里,调用一次GetBodyString(),可以取到数据,并且此时controller和后置中间件也能取到数据了。
from gf.
Related Issues (20)
- os/gcfg: Add configuration change event listener or customize listener HOT 1
- gerror.NewCode has different returns in different gf versions HOT 7
- SQLite does not support generating descriptions using gen dao HOT 2
- os/gcmd: Command can't get args, for all args are parsed as SubCommand, if SubCommand not found, return error. HOT 2
- github.com/gogf/gf/v2/frame/g cannot get instance HOT 1
- frame/g: The random sorting method in gdb is not compatible with Sqlite HOT 1
- cli: Use the gf gen dao command to generate sqlite entities, and the results are all empty structures. HOT 4
- cmd/gf: gf run watched HOT 4
- github.com/gogf/gf/contrib/registry/file/[email protected]: issue file_discovery.go第97行不要执行gfile.Remove(filePath)
- os/gtime: 使用MSSQL处理事务回滚时报错ROLLBACK: mssql: ROLLBACK TRANSACTION 请求没有对应的 BEGIN TRANSACTION。
- database/gdb: When using a custom operator, the Where/WhereOr method does not wrap the field name with a keyword identifier, resulting in a syntax error in SQL execution
- encoding/gjson: json转xml时特殊字符未能转换,导致xml格式不正确,也不能正确还原回json HOT 4
- Simplify HOT 4
- g.log: format Excessive prefix(前缀多余) HOT 1
- gconv struct to map bug,omitempty标签无效 HOT 4
- net/ghttp: (s *Server) Restart is not available HOT 1
- WriteJsonExit returns 4 more characters null. HOT 12
- gf gen ctrl multi-configuration
- cmd/gf: gf init app/mono -a
- ghttp: I hope ghttp.Request can expose the req parameter when the router bind is object method. 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 gf.