Python django.http模块,常用函数和类
下面列出了Python django.http 模块中定义的常用函数和类,我们从1513个开源Python项目中,按照使用频率进行了排序。
函数和类 | 使用项目数 |
---|---|
1. HttpResponse() | 用在(1034)个项目中 |
2. HttpResponseRedirect() | 用在(587)个项目中 |
3. JsonResponse() | 用在(375)个项目中 |
4. Http404() | 用在(294)个项目中 |
5. HttpResponseBadRequest() | 用在(151)个项目中 |
6. HttpRequest() | 用在(118)个项目中 |
7. HttpResponseForbidden() | 用在(108)个项目中 |
8. QueryDict() | 用在(102)个项目中 |
9. HttpResponseNotFound() | 用在(70)个项目中 |
10. HttpResponseServerError() | 用在(50)个项目中 |
11. HttpResponsePermanentRedirect() | 用在(48)个项目中 |
12. HttpResponseNotAllowed() | 用在(41)个项目中 |
13. HttpResponseGone() | 用在(34)个项目中 |
14. parse_cookie() | 用在(28)个项目中 |
15. SimpleCookie() | 用在(28)个项目中 |
16. StreamingHttpResponse() | 用在(28)个项目中 |
17. FileResponse() | 用在(18)个项目中 |
18. HttpResponseNotModified() | 用在(17)个项目中 |
19. conditional_content_removal() | 用在(15)个项目中 |
20. fix_location_header() | 用在(6)个项目中 |