gitlab html 在线预览,我的Gitlab repo中的Web访问HTML文件

编程入门 行业动态 更新时间:2024-10-25 11:27:12

gitlab html <a href=https://www.elefans.com/category/jswz/34/1770935.html style=在线预览,我的Gitlab repo中的Web访问HTML文件"/>

gitlab html 在线预览,我的Gitlab repo中的Web访问HTML文件

截至目前,Gitlab不支持此功能.有一个功能要求:

目前,如果您查询Gitlab的原始html文件,它会设置某些HTTP标头,使其以文本/纯文本形式呈现:

$curl -I http://my-gitlab/user/project/raw/dev/doc/_book/index.html

HTTP/1.1 200 OK

Server: nginx

Date: Mon, 20 Apr 2015 13:17:48 GMT

Content-Type: text/plain; charset=utf-8

Connection: keep-alive

Status: 200 OK

X-Frame-Options: DENY

X-XSS-Protection: 1; mode=block

X-Content-Type-Options: nosniff

X-UA-Compatible: IE=edge

Content-Disposition: inline; filename="index.html"

Content-Transfer-Encoding: binary

Cache-Control: private

ETag: "b81191c550c47eae1ab4adf72dfd0c92"

Set-Cookie: request_method=HEAD; path=/

X-Request-Id: 04ae0499-2fdf-4f89-82ab-8392a8d6a076

X-Runtime: 0.019857

更多推荐

gitlab html 在线预览,我的Gitlab repo中的Web访问HTML文件

本文发布于:2024-02-12 06:27:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1686607.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:在线   文件   html   gitlab   Gitlab

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!