<tfoot id='xyd9T'></tfoot>
  • <small id='xyd9T'></small><noframes id='xyd9T'>

    • <bdo id='xyd9T'></bdo><ul id='xyd9T'></ul>

    1. <i id='xyd9T'><tr id='xyd9T'><dt id='xyd9T'><q id='xyd9T'><span id='xyd9T'><b id='xyd9T'><form id='xyd9T'><ins id='xyd9T'></ins><ul id='xyd9T'></ul><sub id='xyd9T'></sub></form><legend id='xyd9T'></legend><bdo id='xyd9T'><pre id='xyd9T'><center id='xyd9T'></center></pre></bdo></b><th id='xyd9T'></th></span></q></dt></tr></i><div id='xyd9T'><tfoot id='xyd9T'></tfoot><dl id='xyd9T'><fieldset id='xyd9T'></fieldset></dl></div>
      1. <legend id='xyd9T'><style id='xyd9T'><dir id='xyd9T'><q id='xyd9T'></q></dir></style></legend>

        Laravel 中的位置标头

        Location headers in Laravel(Laravel 中的位置标头)
      2. <i id='l3ZkX'><tr id='l3ZkX'><dt id='l3ZkX'><q id='l3ZkX'><span id='l3ZkX'><b id='l3ZkX'><form id='l3ZkX'><ins id='l3ZkX'></ins><ul id='l3ZkX'></ul><sub id='l3ZkX'></sub></form><legend id='l3ZkX'></legend><bdo id='l3ZkX'><pre id='l3ZkX'><center id='l3ZkX'></center></pre></bdo></b><th id='l3ZkX'></th></span></q></dt></tr></i><div id='l3ZkX'><tfoot id='l3ZkX'></tfoot><dl id='l3ZkX'><fieldset id='l3ZkX'></fieldset></dl></div>

            <bdo id='l3ZkX'></bdo><ul id='l3ZkX'></ul>
          • <tfoot id='l3ZkX'></tfoot>

            1. <legend id='l3ZkX'><style id='l3ZkX'><dir id='l3ZkX'><q id='l3ZkX'></q></dir></style></legend>

              <small id='l3ZkX'></small><noframes id='l3ZkX'>

                  <tbody id='l3ZkX'></tbody>

                  本文介绍了Laravel 中的位置标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在为我大学的身份验证系统 (Ucam_Webauth) 使用图书馆,这意味着我必须通过其中一种方法重定向到身份验证服务器.不幸的是,由于该库的体系结构,我无法返回 Redirect:to().该库本身使用 header('Location: ...'); 但这由于某种原因不起作用.

                  I'm working with a Library for my university's authentication system (Ucam_Webauth) which means I have to redirect to the authentication server in one of the methods. Unfortunately, I cannot return a Redirect:to() because of the architecture of this library. The library itself uses header('Location: ...'); but this isn't working for some reason.

                  如果我在发送标头后使程序 die(); 可以工作,否则就不行.

                  If I make the programme die(); after sending the header it works, but otherwise it doesn't.

                  知道如何解决这个问题吗?

                  Any idea how I can fix this?

                  推荐答案

                  return redirect()->to('url')->send();
                  

                  发送 HTTP 标头和内容.在我的应用程序中,send() 方法的作用类似于 'exit()' 并且是可测试的

                  Sends HTTP headers and content. In my application, send() method acts like 'exit()' and is testable

                  这篇关于Laravel 中的位置标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)
                1. <tfoot id='ustX0'></tfoot>
                    <tbody id='ustX0'></tbody>
                  <legend id='ustX0'><style id='ustX0'><dir id='ustX0'><q id='ustX0'></q></dir></style></legend>

                  <small id='ustX0'></small><noframes id='ustX0'>

                      <i id='ustX0'><tr id='ustX0'><dt id='ustX0'><q id='ustX0'><span id='ustX0'><b id='ustX0'><form id='ustX0'><ins id='ustX0'></ins><ul id='ustX0'></ul><sub id='ustX0'></sub></form><legend id='ustX0'></legend><bdo id='ustX0'><pre id='ustX0'><center id='ustX0'></center></pre></bdo></b><th id='ustX0'></th></span></q></dt></tr></i><div id='ustX0'><tfoot id='ustX0'></tfoot><dl id='ustX0'><fieldset id='ustX0'></fieldset></dl></div>

                          • <bdo id='ustX0'></bdo><ul id='ustX0'></ul>