Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
file_link
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
file_link
Merge requests
!12
Allow to use GET request instead of HEAD to avoid issues with Signged URL for AWS S3 - 2.1.x
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Allow to use GET request instead of HEAD to avoid issues with Signged URL for AWS S3 - 2.1.x
issue/file_link-3207469:3207469-allow-to-use-2.1
into
2.1.x
Overview
0
Commits
4
Pipelines
0
Changes
6
Open
Ilia Nozadze
requested to merge
issue/file_link-3207469:3207469-allow-to-use-2.1
into
2.1.x
1 year ago
Overview
0
Commits
4
Pipelines
0
Changes
6
Expand
Closes
#3207469
0
0
Merge request reports
Compare
2.1.x
version 2
dd9ce5c8
1 year ago
version 1
952480fe
1 year ago
2.1.x (HEAD)
and
latest version
latest version
8228f2c1
4 commits,
1 year ago
version 2
dd9ce5c8
3 commits,
1 year ago
version 1
952480fe
2 commits,
1 year ago
6 files
+
154
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/Plugin/Field/FieldType/FileLinkItem.php
+
1
−
1
Options
@@ -235,7 +235,7 @@ class FileLinkItem extends LinkItem implements FileLinkInterface {
try
{
// Perform only a HEAD method to save bandwidth.
$this
->
setResponse
(
$this
->
getHttpClient
()
->
head
(
$url
,
$options
));
$this
->
setResponse
(
$this
->
getHttpClient
()
->
request
(
_file_link_request_method
(),
$url
,
$options
));
}
catch
(
RequestException
$request_exception
)
{
$this
->
setException
(
$request_exception
);
Loading