Skip to content

Commit e99c3b4

Browse files
committed
Edits
1 parent 3a031b0 commit e99c3b4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/storage/blobs/storage-quickstart-blobs-javascript-client-libraries-legacy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ The following table describes each CORS setting and explains the values used to
3838
|Setting |Value | Description |
3939
|---------|---------|---------|
4040
| Allowed origins | * | Accepts a comma-delimited list of domains set as acceptable origins. Setting the value to `*` allows all domains access to the storage account. |
41-
| Allowed verbs | delete, get, head, merge, post, options, and put | Lists the HTTP verbs allowed to execute against the storage account. For the purposes of this quickstart, select all available options. |
41+
| Allowed methods | delete, get, head, merge, post, options, and put | Lists the HTTP verbs allowed to execute against the storage account. For the purposes of this quickstart, select all available options. |
4242
| Allowed headers | * | Defines a list of request headers (including prefixed headers) allowed by the storage account. Setting the value to `*` allows all headers access. |
4343
| Exposed headers | * | Lists the allowed response headers by the account. Setting the value to `*` allows the account to send any header. |
44-
| Maximum age (seconds) | 86400 | The maximum amount of time the browser caches the preflight OPTIONS request. A value of *86400* allows the cache to remain for a full day. |
44+
| Max age (seconds) | 86400 | The maximum amount of time the browser caches the preflight OPTIONS request. A value of *86400* allows the cache to remain for a full day. |
4545

4646
> [!IMPORTANT]
4747
> Ensure any settings you use in production expose the minimum amount of access necessary to your storage account to maintain secure access. The CORS settings described here are appropriate for a quickstart as it defines a lenient security policy. These settings, however, are not recommended for a real-world context.

articles/storage/blobs/storage-quickstart-blobs-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ The following code snippet:
167167
Add this code to the end of the `try` block:
168168

169169
```python
170-
# Create a file in local Documents directory to upload and download
170+
# Create a file in local data directory to upload and download
171171
local_path = "./data"
172172
local_file_name = "quickstart" + str(uuid.uuid4()) + ".txt"
173173
upload_file_path = os.path.join(local_path, local_file_name)
@@ -210,7 +210,7 @@ Add this code to the end of the `try` block:
210210

211211
```python
212212
# Download the blob to a local file
213-
# Add 'DOWNLOAD' before the .txt extension so you can see both files in Documents
213+
# Add 'DOWNLOAD' before the .txt extension so you can see both files in the data directory
214214
download_file_path = os.path.join(local_path, str.replace(local_file_name ,'.txt', 'DOWNLOAD.txt'))
215215
print("\nDownloading blob to \n\t" + download_file_path)
216216

@@ -272,7 +272,7 @@ Deleting the local source and downloaded files...
272272
Done
273273
```
274274

275-
Before you begin the clean up process, check your *Documents* folder for the two files. You can open them and observe that they are identical.
275+
Before you begin the clean up process, check your *data* folder for the two files. You can open them and observe that they are identical.
276276

277277
After you've verified the files, press the **Enter** key to delete the test files and finish the demo.
278278

0 commit comments

Comments
 (0)