You also need to specify which format you want the result in (XML or JSON) using a standard Accept header.
您还需要使用一个标准的Accept标头指定想要的结果格式(xml或json)。
Now that you've created a reasonable facsimile of the original header, you also need to override the footer method so you can generate the footer.
现在您已经创建了一个原始标题的合理副本,您也需要重写Footer方法,以便于您生成页脚。
Now that you've created a reasonable facsimile of the original header, you also need to override the footer method so you can generate the footer.
现在您已经创建了一个原始标题的合理副本,您也需要重写Footer方法,以便于您生成页脚。
应用推荐