我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

http.StatusFound是否为点击重定向的正确状态?

I have a simplistic app that needs to take arbitrary input params from a request and then direct the user to the corresponding external location. Is the

http.StatusFound

the correct response status?

There are a number of different 3xx status codes that are normally associated with redirects, and 302 Found is one of them. See Wikipedia for the complete list.

近期文章

  • KyotoCabinet(TreeDB)严重降低了性能
  • 如何使用golang实现slowEqual
  • 如何在GO的全局范围内存储和获取指针引用
  • 数据存储区中的golang切片变量。NewQuery()过滤器规范?
  • 升级OSX命令行工具后,golang revel应用程序无法编译
  • 有没有一种方法可以可靠地列出Go中的子流程?
  • 数据存储区RunQuery文档
  • 从一个ORM迁移到另一个
  • golang删除数组的维数
  • 如何使用REST API创建页面遍历
  • 通道控制流程混乱
  • 访问结构内部声明的列表时,类型声明错误
  • 找不到gmp库
  • 为什么会导致死锁?
  • 自动尺寸主窗口
  • 使用net / url内置包使用矩阵参数解析URL
  • 在Golang中检查HEIC文件格式
  • 处理恐慌和延误的职能
  • 带有SWIG to Go的公开C ++函数:找不到共享库
  • 如何检查频道在golang的Rabbitmq客户端中是否仍在工作?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华